From: Matthias Mullie Date: Wed, 5 Jul 2017 09:09:52 +0000 (+0200) Subject: Add mediastatistics-header-3d X-Git-Tag: 1.31.0-rc.0~2792^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=968672c449fd65adf968becc95416f8c7c3daaa2;p=lhc%2Fweb%2Fwiklou.git Add mediastatistics-header-3d Bug: T169681 Change-Id: I8d6b07ebc83ac8f15f07b25bb3688567f2c1430f --- diff --git a/includes/specials/SpecialMediaStatistics.php b/includes/specials/SpecialMediaStatistics.php index 5192eb95e1..44e0db85e2 100644 --- a/includes/specials/SpecialMediaStatistics.php +++ b/includes/specials/SpecialMediaStatistics.php @@ -307,6 +307,7 @@ class MediaStatisticsPage extends QueryPage { // mediastatistics-header-video, mediastatistics-header-multimedia, // mediastatistics-header-office, mediastatistics-header-text, // mediastatistics-header-executable, mediastatistics-header-archive, + // mediastatistics-header-3d, $this->msg( 'mediastatistics-header-' . strtolower( $mediaType ) )->text() ) ); diff --git a/includes/specials/SpecialNewimages.php b/includes/specials/SpecialNewimages.php index 8528ce26c8..069dd0b6fc 100644 --- a/includes/specials/SpecialNewimages.php +++ b/includes/specials/SpecialNewimages.php @@ -105,6 +105,7 @@ class SpecialNewFiles extends IncludableSpecialPage { // mediastatistics-header-video, mediastatistics-header-multimedia, // mediastatistics-header-office, mediastatistics-header-text, // mediastatistics-header-executable, mediastatistics-header-archive, + // mediastatistics-header-3d, return $this->msg( 'mediastatistics-header-' . strtolower( $type ) )->text(); }, $this->mediaTypes ); $mediaTypesOptions = array_combine( $mediaTypesText, $this->mediaTypes ); diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 606203b12b..7d107d9b63 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -4136,6 +4136,7 @@ "mediastatistics-header-text": "Textual", "mediastatistics-header-executable": "Executables", "mediastatistics-header-archive": "Compressed formats", + "mediastatistics-header-3d": "3D", "mediastatistics-header-total": "All files", "json-warn-trailing-comma": "$1 trailing {{PLURAL:$1|comma was|commas were}} removed from JSON", "json-error-unknown": "There was a problem with the JSON. Error: $1", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index d4f52854c1..4d854d909a 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -4326,6 +4326,7 @@ "mediastatistics-header-text": "Header on [[Special:MediaStatistics]] for file types that are in the text category. This includes simple text formats, including plain text formats, json, csv, and xml. Source code of compiled programming languages may be included here in the future, but isn't currently.", "mediastatistics-header-executable": "Header on [[Special:MediaStatistics]] for file types that are in the executable category. This includes things like source files for interpreted programming language (Shell scripts, javascript, etc).", "mediastatistics-header-archive": "Header on [[Special:MediaStatistics]] for file types that are in the archive category. Includes things like tar, zip, gzip etc.", + "mediastatistics-header-3d": "Header on [[Special:MediaStatistics]] for file types that are in the 3D category. Includes STL files.", "mediastatistics-header-total": "Header on [[Special:MediaStatistics]] for a summary of all file types.", "json-warn-trailing-comma": "A warning message notifying that JSON text was automatically corrected by removing erroneous commas.\n\nParameters:\n* $1 - number of commas that were removed\n{{Related|Json-error}}", "json-error-unknown": "User error message when there’s an unknown error.\n\nThis error is shown if we received an unexpected value from PHP. See http://php.net/manual/en/function.json-last-error.php\n\nParameters:\n* $1 - integer error code\n{{Related|Json-error}}",